﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="frmPlantilla.aspx.cs" Inherits="WebCumpleanios.frmPlantilla1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>Untitled Page</title>
    <style type="text/css">
        .borde
        {
            border: solid 3px #ffffff;
            text-align:center;
            vertical-align:middle;
        }
        .bordeYelow
        {
            border: solid 3px Yellow;
            text-align:center;
            vertical-align:middle;
        }
        .mensaje
        {
        	padding-left:20px;
        	font-family:Tahoma;
        	font-size:10pt;
        	height:30px;
        	font-weight: bold;
        }
        .style1
        {
            height: 15px;
        }
    </style>
    <script type="text/javascript">
        function cambiarBorde(val, objeto) {

            if (val == 0)
                objeto.className = 'borde';
            else
                objeto.className = 'bordeYelow';
        }
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <table border="0" cellpadding="0" cellspacing="0" style="height:445px; width: 745px;">
        <tr>
            <td class="mensaje" colspan="5" style="height:15px;">Seleccione una plantilla para el fondo:</td>
        </tr>
        <tr>
            <td style="height:15px; width:15px;"></td>
            <td style="height:15px; width:350px;"></td>
            <td class="style1"></td>
            <td style="height:15px; width:350px;"></td>
            <td style="height:15px; width:15px;"></td>
        </tr>
        <tr>
            <td style="height:200px;"></td>
            <td class="borde" onmouseover="cambiarBorde(1, this);" onmouseout="cambiarBorde(0, this);">
                <asp:ImageButton ID="ImageButton1" runat="server" Height="194px" 
                    ImageUrl="~/images/no_picture.gif" Width="344px" 
                    onclick="ImageButton1_Click" />
            </td>
            <td></td>
            <td class="borde" onmouseover="cambiarBorde(1, this);" onmouseout="cambiarBorde(0, this);">
                <asp:ImageButton ID="ImageButton2" runat="server" Height="194px" 
                    ImageUrl="~/images/no_picture.gif" Width="344px" 
                    onclick="ImageButton2_Click" />
            </td>
            <td></td>
        </tr>
        <tr>
            <td style="height:15px;"></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
        </tr>
        <tr>
            <td style="height:200px;"></td>
            <td class="borde" onmouseover="cambiarBorde(1, this);" onmouseout="cambiarBorde(0, this);">
                <asp:ImageButton ID="ImageButton3" runat="server" Height="194px" 
                    ImageUrl="~/images/no_picture.gif" Width="344px" 
                    onclick="ImageButton3_Click" />
            </td>
            <td></td>
            <td class="borde" onmouseover="cambiarBorde(1, this);" onmouseout="cambiarBorde(0, this);">
                <asp:ImageButton ID="ImageButton4" runat="server" Height="194px" 
                    ImageUrl="~/images/no_picture.gif" Width="344px" 
                    onclick="ImageButton4_Click" />
            </td>
            <td></td>
        </tr>
        <tr>
            <td style="height:15px;"></td>
            <td></td>
            <td></td>
            <td></td>
            <td></td>
        </tr>
    </table>
    <asp:HiddenField ID="hdRedirect" runat="server" />
    </form>
    <script type="text/javascript">
        _obj = document.getElementById('hdRedirect');
        valor = _obj.value
        if (valor != '') {
            window.parent.location.href = valor;
        }
    </script>
</body>
</html>
